package pl.kosmowska.ewelina.client.views;

import java.util.List;

import pl.kosmowska.ewelina.client.app.requestfactory.dto.InvestmentDataProxy;

import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;

public interface InvestmentView extends IsWidget {

	interface Presenter {
		void goTo(Place place);

		void deleteInvestmentData(InvestmentDataProxy selectedItem);


		void goToInvestmentAddPlace();

		void goToInvestmentEditPlace(InvestmentDataProxy selectedItem);

	}

	void setPresenter(Presenter presenter);


	void reInitView(List<InvestmentDataProxy> investmentDataList);

	void showMessage(String errorMessage);

	void updateAfterInvestmentDataDelete(InvestmentDataProxy selectedItem);


	boolean isAlreadyInit();


	void setAlreadyInit(boolean alreadyInit);
}

